/**
 * Created with IntelliJ IDEA.
 *
 * @author: cxs
 * @date: 2023/6/27
 * @time: 20:09
 * @className：ICustomerService
 * @description：
 */
package com.bailan.bus.service;

import com.bailan.bus.domain.Customer;
import com.bailan.bus.vo.CustomerVo;
import com.bailan.common.util.DataGridView;

public interface ICustomerService {
    /**
     * 查询客户
     * @param customerVo
     * @return
     */
    DataGridView queryAllCustomer(CustomerVo customerVo);

    /**
     * 添加用户
     * @param customerVo
     */
    void addCustomer(CustomerVo customerVo);

    /**
     * 修改用户
     * @param customerVo
     */
    void updateCustomer(CustomerVo customerVo);

    /**
     * 通过身份证证号删除用户
     * @param identity
     */
    void deleteByIdentity(String identity);

    /**
     * 批量删除多个客户
     * @param ids
     */
    void deleteManyCustomer(String[] ids);

    /**
     * 根据身份证号查询用户
     * @param identity
     * @return
     */
    Customer selectCustomerByIdentity(String identity);
}
